const baseURL = process.env.API_ROOT + "/safety";  //其它
const baseURLLogin = process.env.API_ROOT + '/sso'; // 登录

const imgUrl = 'https://xdbj.net.cn/resource/FileStore/';

//登录和刷新
const oauthToken = baseURLLogin + "/oauth/token";//登录和刷新

//字典项
const transportType = baseURL + "/core/managementDict/list/transport_type";//运输类型
const vehicleType = baseURL + "/core/managementDict/list/vehicle_type";//车辆类型
const personType = baseURL + "/core/managementDict/list/person_type";//人员类型

//字典管理
const dictDelete = baseURL + "/sys/dict/delete/";//字典删除
const dictList = baseURL + "/sys/dict/list";//字典列表
const dictSaveOrUpdate = baseURL + "/sys/dict/saveOrUpdate";//字典修改
const dictAllKeys = baseURL + "/sys/dict/allKeys";//字典搜索条件
const trailerType = baseURL + "/sys/dict/list?type=trailer_type";//挂车类型
const insuranceCompany = baseURL + "/sys/dict/list?type=insurance_company";//保险公司
const insuranceType = baseURL + "/sys/dict/list?type=insurance_type";//险种字典
const emissionStandards = baseURL + "/sys/dict/list?type=emission_standards";//排放标准
const vehiclePurchase = baseURL + "/sys/dict/list?type=vehicle_purchase";//贷款情况
const safetyPlan = baseURL + "/sys/dict/list?type=safety_plan";//安全目标名目

//获取下级企业
const subDeptList = baseURL + "/core/safetyDept/subDeptList";//获取下级企业


//个人中心
const managementUserGetNowUser = baseURL + "/core/managementUser/getNowUser";//个人信息
const managementUserUpdate = baseURL + "/core/managementUser/update";//修改信息
const managementUserUpdatePass = baseURL + "/core/managementUser/updatePass";//修改密码

//企业配置
const configRemindInfo = baseURL + "/company/config/remind/info";//企业配置详情
const configRemindUpdate = baseURL + "/company/config/remind/update";//企业配置修改



//首页统计
const companyIndexVehicleAgeProportion = baseURL + "/company/index/vehicleAgeProportion";//车龄统计
const companyIndexPositionStatistics = baseURL + "/company/index/positionStatistics";//30天运营汇总
const companyIndexEmissionStandardsProportion = baseURL + "/company/index/emissionStandardsProportion";//运输车辆排放标准统计
const companyIndexDriverTypeProportion = baseURL + "/company/index/driverTypeProportion";//统计企业下各个类型从业人员总数
const companyIndexDataTotal = baseURL + "/company/index/dataTotal";//统计车辆、挂车、人员等总数
const companyIndexAlarmStatistics = baseURL + "/company/index/alarmStatistics";//30天报警统计汇总
const companyIndexAlarmTop = baseURL + "/company/index/alarmTop";//30天报警前10辆车


//组织架构
const safetyOrganizationSaveOrUpdate = baseURL + "/organization/saveOrUpdate";//组织架构新增
const safetyOrganizationList = baseURL + "/organization/list";//组织架构list
const safetyOrganizationDelete = baseURL + "/organization/delete/";//组织架构删除

//安全例会
const safetyMeetingRecordPageList = baseURL + "/meeting/record/page/list";//列表
const safetyMeetingRecordSaveOrUpdate = baseURL + "/meeting/record/saveOrUpdate";//保存
const safetyMeetingRecordDelete = baseURL + "/meeting/record/delete/";//删除

//资质证明
const safetyCertificatePageList = baseURL + "/certificate/page/list";//分页列表
const safetyCertificateSaveOrUpdate = baseURL + "/certificate/saveOrUpdate";//保存或修改
const safetyCertificateDelete = baseURL + "/certificate/delete/";//删除
const basicDriverSafetyList = baseURL + "/basic/driver/safety/list";//安全员list

//安全目标
const safetyBudgetPlanPageList = baseURL + "/budget/plan/page/list";//查询分页列表
const safetyBudgetPlanInfo = baseURL + "/budget/plan/info/";//查询详情
const safetyBudgetPlanSaveOrUpdate = baseURL + "/budget/plan/saveOrUpdate";//保存或修改
const safetyBudgetPlanDelete = baseURL + "/budget/plan/delete/";//删除


//安全经费
const safetyBudgetPlanStatisticsPageList = baseURL + "/budget/plan/statistics/page/list";//外侧汇总
const safetyBudgetPlanItemList = baseURL + "/budget/plan/item/list/";//查询名目
const safetyBudgetExpenditureSaveOrUpdate = baseURL + "/budget/expenditure/saveOrUpdate";//添加
const safetyBudgetExpenditureDelete = baseURL + "/budget/expenditure/delete/";//删除
const safetyBudgetExpenditurePageList = baseURL + "/budget/expenditure/page/list";//列表
const safetyBudgetExpenditureStatistics = baseURL + "/budget/expenditure/statistics";//详情



export default {
  imgUrl,
  //安全经费
  safetyBudgetPlanStatisticsPageList,
  safetyBudgetPlanItemList,
  safetyBudgetExpenditureSaveOrUpdate,
  safetyBudgetExpenditureDelete,
  safetyBudgetExpenditurePageList,
  safetyBudgetExpenditureStatistics,

  //安全目标
  safetyBudgetPlanPageList,
  safetyBudgetPlanInfo,
  safetyBudgetPlanSaveOrUpdate,
  safetyBudgetPlanDelete,

  //资质证明
  safetyCertificatePageList,
  safetyCertificateSaveOrUpdate,
  safetyCertificateDelete,
  basicDriverSafetyList,

  //安全例会
  safetyMeetingRecordPageList,
  safetyMeetingRecordSaveOrUpdate,
  safetyMeetingRecordDelete,

  //组织架构
  safetyOrganizationSaveOrUpdate,
  safetyOrganizationList,
  safetyOrganizationDelete,


  //登录和刷新
  oauthToken,

  //企业配置
  configRemindInfo,
  configRemindUpdate,


  //个人中心
  managementUserGetNowUser,
  managementUserUpdate,
  managementUserUpdatePass,

  //首页统计
  companyIndexVehicleAgeProportion,
  companyIndexPositionStatistics,
  companyIndexEmissionStandardsProportion,
  companyIndexDriverTypeProportion,
  companyIndexDataTotal,
  companyIndexAlarmStatistics,
  companyIndexAlarmTop,


  //字典项
  transportType,//运输类型
  emissionStandards,//排放标准
  vehiclePurchase,//贷款情况
  safetyPlan,//安全目标名目
  vehicleType,//车辆类型
  personType,//人员类型
  //获取下级企业
  subDeptList,//获取下级企业

  //字典管理
  dictDelete,
  dictList,
  dictSaveOrUpdate,
  dictAllKeys,
  trailerType,
  insuranceCompany,
  insuranceType,

}
